feat: add Last.fm provider integration with configuration and SVG asset #13235
+96
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
☕️ Reasoning
This PR adds a new Last.fm OAuth provider to
@auth/core
. Last.fm is a popular music tracking platform, and adding it as a built-in provider allows developers to easily integrate Last.fm login into their apps without writing custom OAuth logic.The implementation includes:
packages/core/src/providers/lastfm.ts
– provider code with OAuth flow, profile mapping, and user info fetching.docs/public/img/providers/lastfm.svg
– provider logo for documentation and UI..github/ISSUE_TEMPLATE/2_bug_provider.yml
to include Last.fm in the provider dropdown.This aligns with NextAuth’s goal of providing first-class OAuth integrations out-of-the-box.
🧢 Checklist
lastfm.ts
)📌 Resources